<template>
    <div class="detail">
            <el-table :data="tableData" stripe style="width: 100%">
            <!-- <el-table :data="tableData" stripe style="width: 100%" :key="cartItem"> -->
            <el-table-column prop="itemId" label="itemid" width="220" />
            </el-table><br>
    </div>
</template>
<script>
import { ref } from "vue";
import { reactive } from 'vue'
import axios from 'axios'
import { ElMessage } from 'element-plus';
import router from '../router';
var cartsStr = sessionStorage.getItem('carts');
var carts = JSON.parse(cartsStr);

export default{
     data() {
        return {
          tableData: carts,
        }
      },
      setup(){

      }
} 

</script>
